/**
 * 
 */
package com.yidu.erp.service.BeyondRoleModel;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.erp.model.BeyondRoleModel;
import com.yidu.erp.dao.BeyondRoleModelMapper;

/**
 * 角色模块service实现类
 * @author wws
 * @date  2017年11月11日
 */
@Service
public class RoleModelServiceImpl implements RoleModelService{

	@Resource
	private BeyondRoleModelMapper beyondRoleModelMapper ;
	
	@Override
	public int insertSelective(BeyondRoleModel rm) {
		
		return beyondRoleModelMapper.insertSelective(rm);
	}

	
	@Override
	public int deleteByPrimaryKey(String roleId) {
		
		return beyondRoleModelMapper.deleteByPrimaryKey(roleId);
	}


	
	@Override
	public String selectModelId(String roleId) {
		
		return beyondRoleModelMapper.selectModelId(roleId);
	}

}
